﻿using _17.状态模式.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _17.状态模式.Models
{
    /// <summary>
    /// 进板
    /// </summary>
    public class EnterState : IState
    {
        public int Flag => 1;

        public void Handle(IContext context)
        {
            Console.WriteLine("主板已进入");

            context.SetState(new MarkState());
        }
    }
}
